# -*- coding: utf-8 -*-
#弹窗
import sys

from PyQt5.QtWidgets import (QApplication, QDialog, QMessageBox)


class Dialog(QDialog):
    
    def __init__(self, parent=None):
        super(Dialog, self).__init__(parent)

    def infoMsg(self, msg):
        reply = QMessageBox.information(self,
                "系统提示", msg)


if __name__ == '__main__':
    app = QApplication(sys.argv)
    dialog = Dialog()
    sys.exit(app.exec_())